<template>
	<view class="nmview">
		<u-popup v-model="moreshow" mode="center" @close="zhidao" width="82%" :closeable="true" z-index="1000">
			<view class="mpop">

				<text class="yantit">
					更多服务
				</text>
				<image class="img_kfz" src="/static/img/img_kfz.png" />
				<text class="kaitit">开发中...</text>
				<text class="kaimiao">尽情期待~</text>
				<view class="zhidao" @click="zhidao">知道了</view>
			</view>
		</u-popup>
	</view>
	
</template>

<script>
export default {
	props: {
		moreshow: {
			type: Boolean,
			default: false
		},
		cont:{
			type: String,
			default: ''
		},
		isTimer:{
			type: Boolean,
			default: false
		},
		time:{
			type: Number,
			default: 60
		},
		email:{
			type: String,
			default: ''
		},
	
	},
	name: "Nheader",
	data() {
		return {
			ispayPop: true,
			animat: this.isanimate(),
			huishow:false,
			tips: '',
			// refCode: null,
			seconds: 10,
			yanval:''
		};
	},
	methods: {
		getsou(){
			uni.showToast({
				title: '点击此处',
				icon: 'success'
			})
		},
		leftClick() {
			this.$emit("leftClick");
		},
		connectWallet(){
			
			this.$emit("connectWallet");
		},
		gettantwo(){
			this.$emit("gettantwo");
		},
		gethome(){
			uni.switchTab({ url: '/pages/tabbar/Tabhome' })
		},
		zhidao(){
			this.$emit("moreclose");
			// this.mshow  =false
		},
		finish(e){
			console.log(e)
			this.yanval = e
			
		},
		yanbtn(){
			console.log(this.yanval.length)
			if(Number(this.yanval.length)<6){
				this.$u.toast('请输入验证码');
				return false
			}
			this.$emit("yanclose");
			this.$emit("yanbtn",this.yanval);
		},
		getcode(){
			
			this.$emit("getcode");
		}

	}
}
</script>

<style scoped lang="scss">
.mpop{
	// padding: 50rpx 30rpx;
	// // #ifdef APP-PLUS
	// padding-top: calc(var(--status-bar-height) + 50rpx);;
	// // #endif
	background-color: #fff;
	padding: 30rpx;
	border-radius: 20rpx;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	.yantit{
		font-family: Source Han Sans CN;
		font-weight: bold;
		font-family: PingFang SC;
		font-weight: bold;
		font-size: 36rpx;
		color: #333333;
		display: block;
		margin: 10rpx auto 20rpx;
		text-align: center;
	}
	.img_kfz{
		width: 368rpx;
		height: 200rpx;
		margin: 30rpx 0;
	}
	.kaitit{
		font-family: PingFang SC;
		font-weight: bold;
		font-size: 36rpx;
		color: #3E65E5;
	}
	.kaimiao{
		font-family: PingFang SC;
		font-weight: bold;
		font-size: 24rpx;
		color: #666666;
		display: block;
		margin-top: 13rpx;
	}
	.zhidao{
		display: flex;
		justify-content: center;
		align-items: center;
		height: 98rpx;
		background: #3E65E5;
		border-radius: 20rpx;
		width: 80%;
		margin-top: 35rpx;
		font-family: PingFang SC;
		font-weight: 500;
		font-size: 32rpx;
		color: #FFFFFF;
	}
	.youname{
		font-family: Source Han Sans CN;
		font-weight: 400;
		font-size: 30rpx;
		color: #8B8B8B;
		display: block;
		text-align: center;
	}
	.yantan{
		margin: 50rpx 0 30rpx;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.yanfa{
		display: flex;
		align-items: center;
		justify-content: flex-end;
		text{
			font-family: Source Han Sans CN;
			font-weight: 400;
			font-size: 26rpx;
			color: #BBBBBB;
		}
	}
	.querenben{
		height: 96rpx;
		background: #EBEBEB;
		border-radius: 48rpx;
		width: 80%;
		margin: 50rpx auto 10rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		font-family: Source Han Sans CN;
		font-weight: 500;
		font-size: 30rpx;
		color: #A5A5A5;
	}
	.qbtns{
		background: #000000;
		color: #fff;
	}
}
.nmview{
	/deep/.u-mode-center-box{
		background-color: transparent;
	}
}
</style>

